// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__A66D06FB_C2D7_4D6E_8CDF_FEC381F67BAD__INCLUDED_)
#define AFX_MAINFRM_H__A66D06FB_C2D7_4D6E_8CDF_FEC381F67BAD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CMainFrame : public CFrameWnd
{
	
protected: // create from serialization only
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // control bar embedded members
	CStatusBar  m_wndStatusBar;
	CToolBar    m_wndToolBar;
	CCustSplit	m_wndSplit;
	BYTE		m_bHasLayout;
	
// Generated message map functions
protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnOperTail();
	afx_msg void OnOperPrev();
	afx_msg void OnOperNext();
	afx_msg void OnOperHead();
	afx_msg void OnUpdateOperHead(CCmdUI* pCmdUI);
	afx_msg void OnUpdateOperPrev(CCmdUI* pCmdUI);
	afx_msg void OnUpdateOperNext(CCmdUI* pCmdUI);
	afx_msg void OnUpdateOperTail(CCmdUI* pCmdUI);
	afx_msg void OnUpdateOperIntro(CCmdUI* pCmdUI);
	afx_msg void OnUpdateOperContent(CCmdUI* pCmdUI);
	afx_msg void OnUpdateOperCatalog(CCmdUI* pCmdUI);
	afx_msg void OnOperIntro();
	afx_msg void OnOperCatalog();
	afx_msg void OnOperContent();
	afx_msg void OnOperSave();
	afx_msg void OnOperTmpl();
	afx_msg void OnClose();
	afx_msg void OnUpdateOperTmpl(CCmdUI* pCmdUI);
	afx_msg void OnUpdateOperSave(CCmdUI* pCmdUI);
	afx_msg void OnOperHelp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	void OnApplyResizing();

public:
	CEJAnnoView* GetAnnoView();
	CEJEditView* GetEditView();
	CEJListView* GetListView();
	CEJFileView* GetFileView();
	
	void RefreshAll();
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAINFRM_H__A66D06FB_C2D7_4D6E_8CDF_FEC381F67BAD__INCLUDED_)
